package com.sixth.system.service;/**
 * @author 633yh
 * @version 1.0
 */

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sixth.core.entity.Notice;
import com.sixth.core.vo.R;
import com.sixth.system.vo.NoticeVo;

import java.util.List;

/**
 * @author ：Stu YH
 * @date ：Created in 2024/8/18 18:33
 * @description：
 * @modified By：
 * @version:
 */
public interface NoticeService {
    R<Page<Notice>> selectByPage(NoticeVo noticeVo);

    boolean addUpdate(Notice notice);

    R delete(Long[] noticeIds);

    R<Notice> getById(Long noticeId);

    R<List<Notice>> listAllNotice();
}